<!DOCTYPE html>
<html lang="en" xmlns:v-bind="http://www.w3.org/1999/xhtml" xmlns:v-on="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div id="app"> <!-- v-bind:value只能进行单向的数据渲染 -->
    <input type="text" v-bind:value="searchMap.keyWord">
    <!-- v-model 可以进行双向的数据绑定 -->
    <input type="text" v-model="searchMap.keyWord">
    <p>您要查询的是：{{searchMap.keyWord}}</p>
</div>
<script src="vue.js"></script>

<script>
    new Vue({
        el: '#app', data: {
            searchMap: {
                keyWord: 'kuangshen'
            }
        }
    })
</script>
</body>

</html>